package com.ruoyi.web.controller.teaching;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.teaching.domain.PlatformFReportType;
import com.ruoyi.teaching.service.PlatformFReportTypeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 王旭
 * @since 2025-02-11
 */
@RestController
@RequestMapping("/platform/reportType")
@Api(tags = "platform-违规举报类型")
public class PlatformFReportTypeController {

    @Autowired
    private PlatformFReportTypeService platformFReportTypeService;

    /**
     * 查询所有违规举报类型
     */
    @GetMapping("/listAll")
    @ApiOperation(value = "查询所有违规举报类型", notes = "查询所有违规举报类型")
    public AjaxResult list() {
        return platformFReportTypeService.listAll();
    }

}

